package com.yami.shop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.bean.app.dto.CarListDto;
import com.yami.shop.bean.app.dto.SearchCarDto;
import com.yami.shop.bean.app.param.CarListParam;
import com.yami.shop.bean.app.param.CarSubmitParam;
import com.yami.shop.bean.app.param.EditLicensePlateNumberParam;
import com.yami.shop.bean.app.param.ManagementSubmitParam;
import com.yami.shop.bean.model.CarManagement;
import com.yami.shop.common.util.PageParam;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * CarManagementService
 *
 * @Author Administrator
 * @Date 2025/4/10 16:42
 */
public interface CarManagementService extends IService<CarManagement> {
    IPage<CarListDto> carList(PageParam<CarListDto> page, String ridgepole, String roomNumber);

    List<CarListDto> myCarList(Integer userId);

    void submit(CarSubmitParam carSubmitParam);

    SearchCarDto search(String licensePlateNumber);

    void managementSubmit(ManagementSubmitParam param, Integer userId);

    void editLicensePlateNumber(EditLicensePlateNumberParam param);
}
